const Router = require('koa-router')
const AuthCtl = require('../../controllers/auth')

const router = new Router()

router.post('/login', async (ctx, next) => {
  await AuthCtl.login(ctx)
})

module.exports = router